package com.hgx.su.common.pure.dto;

import java.io.Serializable;

/**
 * Description: rest日志bean
 * author: HGX
 * DateTime: 2020-12-21 19:41
 */
public class RestLogDto implements Serializable {

    private String requestUrl;

    private String httpMethod;

    private String ip;

    private String classMethod;

    private Object requestArgs;

    private Object responseArgs;

    private String exceptionStr;

    private String consumingTime;


    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getHttpMethod() {
        return httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getClassMethod() {
        return classMethod;
    }

    public void setClassMethod(String classMethod) {
        this.classMethod = classMethod;
    }

    public Object getRequestArgs() {
        return requestArgs;
    }

    public void setRequestArgs(Object requestArgs) {
        this.requestArgs = requestArgs;
    }

    public Object getResponseArgs() {
        return responseArgs;
    }

    public void setResponseArgs(Object responseArgs) {
        this.responseArgs = responseArgs;
    }

    public String getExceptionStr() {
        return exceptionStr;
    }

    public void setExceptionStr(String exceptionStr) {
        this.exceptionStr = exceptionStr;
    }

    public String getConsumingTime() {
        return consumingTime;
    }

    public void setConsumingTime(String consumingTime) {
        this.consumingTime = consumingTime;
    }

    @Override
    public String toString() {
        return "RestLogDto{" +
                "requestUrl='" + requestUrl + '\'' +
                ", httpMethod='" + httpMethod + '\'' +
                ", ip='" + ip + '\'' +
                ", classMethod='" + classMethod + '\'' +
                ", requestArgs=" + requestArgs +
                ", responseArgs=" + responseArgs +
                ", exceptionStr='" + exceptionStr + '\'' +
                ", consumingTime='" + consumingTime + '\'' +
                '}';
    }
}
